package com.syh.jn.scm.service.impl.supplier.statistics;

import com.alibaba.dubbo.config.annotation.Service;
import com.syh.jn.scm.dto.supplier.statistics.projectCustomerManagement.ProCustReportVo;
import com.syh.jn.scm.infrastructure.repository.utils.MybatisTemplate;
import com.syh.jn.scm.service.api.supplier.statistics.ProCustReportService;

import java.util.List;
import java.util.Map;

/**
 * 项目-下游客户经营报表
 */
@Service
public class ProCustReportServiceImpl implements ProCustReportService {
    @Override
    public List<ProCustReportVo> proCustReport(Map<String, Object> params) {
        return MybatisTemplate.selectList("proCustReportQRepository.proCustReport",params);
    }

    @Override
    public Integer proCustReportCount(Map<String, Object> params) {
        return MybatisTemplate.selectOne("proCustReportQRepository.proCustReportCount",params);
    }
}
